function plotRotFreq(groupTitle, tMeasureList, rotFqyErrList, rotfreqList, rotfreqGenie, fontsize, T_roll)
    % 清洗多余数据
    index = ~(rotFqyErrList == 10 / T_roll);
    rotfreqList = rotfreqList(index);
    tMeasureList = tMeasureList(index);
    rotFqyErrList = rotFqyErrList(index);
    rotfreqGenie = rotfreqGenie(index);
    disp(num2str(rotFqyErrList));
    % 绘制旋转频率与对应真值的对比图
    figure;
    subplot(2,1,1);
    plot(tMeasureList, rotfreqList, 'b-o', 'LineWidth', 2);
    hold on;
    plot(tMeasureList, rotfreqGenie, 'r--s', 'LineWidth', 2);
    legend('估计频率', '真值', 'FontSize', fontsize);
    xlabel('时间 (s)', 'FontSize', fontsize);
    ylabel('旋转频率 (Hz)', 'FontSize', fontsize);
    title(['旋转频率锁定环路输出'], 'FontSize', fontsize);
    grid on;
    subplot(2,1,2);
    plot(tMeasureList, rotFqyErrList, 'b-o', 'LineWidth', 2);
    xlabel('时间 (s)', 'FontSize', fontsize);
    ylabel('频率误差 (Hz)', 'FontSize', fontsize);
    title(['旋转频率鉴别器输出'], 'FontSize', fontsize);
    grid on;
    sgtitle(groupTitle, 'FontSize', fontsize + 2);
    % 调整子图间距，避免标签重叠
    set(gcf, 'Position', [100, 100, 1000, 700]); % 设置图形大小
end